package com.example.filmsearchapplication.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Film implements Serializable {
    String director;
    String Name;
    boolean subtitle;
    String types;
    int year;
    int playBillId;

    public Film(String name, String director, String types, int year, boolean subtitle, int playBillId){
        this.setDirector(director);
        this.setName(name);
        this.setSubtitle(subtitle);
        this.setTypes(types);
        this.setYear(year);
        this.setPlayBillId(playBillId);
    }


    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public boolean isSubtitle() {
        return subtitle;
    }

    public void setSubtitle(boolean subtitle) {
        this.subtitle = subtitle;
    }

    public String getTypes() {
        return types;
    }

    public void setTypes(String types) {
        this.types = types;
    }

    public int getYear() {
        return year;
    }
    public void setYear(int year) {
        this.year = year;
    }

    public int getPlayBillId() {
        return playBillId;
    }

    public void setPlayBillId(int playBillId) {
        this.playBillId = playBillId;
    }
}
